package com.baiku.sanhos.pojo.vo;

import com.baiku.sanhos.utils.consts.CommentConsts;
import lombok.Data;

import java.util.List;

/**
 * @author ruoLi
 */
@Data
public class UserInventoryVO {
    private String username;
    private String nickname;
    private String schedulTime;
    private String doctorNo;
    private String doctorName;
    private Integer totalMoney;
    private String announcements;
    private Integer status;
    private List<UserInventoryListVO> userInventoryListVO;
    private String hospital;
    private String alipayQrCode;


    public void setHospital(String hospital) {
        if (hospital.isEmpty()){
            this.hospital= CommentConsts.HOSPITAL.getValue();
            return;
        }
        this.hospital = hospital;
    }

    public String getHospital() {
        this.hospital= CommentConsts.HOSPITAL.getValue();
        return hospital;
    }
}
